.class public Lcom/instagram/android/login/e/a;
.super Lcom/instagram/d/a;
.source "LogoutTask.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/d/a",
        "<",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        ">;"
    }
.end annotation


# instance fields
.field private final a:Landroid/content/Context;

.field private final b:Landroid/support/v4/app/r;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/support/v4/app/r;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 23
    invoke-direct {p0}, Lcom/instagram/d/a;-><init>()V

    .line 24
    iput-object p1, p0, Lcom/instagram/android/login/e/a;->a:Landroid/content/Context;

    .line 25
    iput-object p2, p0, Lcom/instagram/android/login/e/a;->b:Landroid/support/v4/app/r;

    .line 26
    return-void
.end method


# virtual methods
.method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 16
    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/instagram/android/login/e/a;->a([Ljava/lang/Void;)Ljava/lang/Void;

    move-result-object v0

    return-object v0
.end method

.method protected varargs a([Ljava/lang/Void;)Ljava/lang/Void;
    .locals 2
    .parameter

    .prologue
    .line 30
    invoke-static {}, Lcom/instagram/android/d/a/a;->a()Lcom/instagram/android/d/a/a;

    move-result-object v0

    const-string v1, "accounts/logout/"

    invoke-static {v1}, Lcom/instagram/android/d/i/c;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/d/a/a;->a(Ljava/lang/String;)Lch/boye/httpclientandroidlib/HttpResponse;

    .line 31
    iget-object v0, p0, Lcom/instagram/android/login/e/a;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/instagram/android/login/c/a;->b(Landroid/content/Context;)V

    .line 32
    const/4 v0, 0x0

    return-object v0
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 16
    check-cast p1, Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/instagram/android/login/e/a;->a(Ljava/lang/Void;)V

    return-void
.end method

.method protected a(Ljava/lang/Void;)V
    .locals 2
    .parameter

    .prologue
    .line 50
    invoke-super {p0, p1}, Lcom/instagram/d/a;->a(Ljava/lang/Object;)V

    .line 52
    iget-object v0, p0, Lcom/instagram/android/login/e/a;->b:Landroid/support/v4/app/r;

    const-string v1, "ProgressDialog"

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(Ljava/lang/String;)Landroid/support/v4/app/Fragment;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/fragment/ey;

    .line 54
    if-eqz v0, :cond_0

    .line 55
    invoke-virtual {v0}, Lcom/instagram/android/fragment/ey;->b()V

    .line 58
    :cond_0
    invoke-static {}, Lcom/instagram/android/login/c/a;->a()V

    .line 59
    return-void
.end method

.method protected b_()V
    .locals 4

    .prologue
    .line 37
    invoke-super {p0}, Lcom/instagram/d/a;->b_()V

    .line 38
    new-instance v0, Lcom/instagram/android/login/e/b;

    invoke-direct {v0, p0}, Lcom/instagram/android/login/e/b;-><init>(Lcom/instagram/android/login/e/a;)V

    .line 44
    iget-object v1, p0, Lcom/instagram/android/login/e/a;->b:Landroid/support/v4/app/r;

    invoke-virtual {v1}, Landroid/support/v4/app/r;->a()Landroid/support/v4/app/af;

    move-result-object v1

    .line 45
    const-string v2, "ProgressDialog"

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Lcom/instagram/android/fragment/ey;->a(Landroid/support/v4/app/af;Ljava/lang/String;Z)I

    .line 46
    return-void
.end method
